Gets the number of attempts on the activity.
Parent Type: LearningDataModel
Namespace: Microsoft.LearningComponents.DataModel
Assembly: Microsoft.LearningComponents.dll
| C# |
|
public int ActivityAttemptCount { get; } |
| Exception type | Condition |
| InvalidOperationException | Thrown if this LearningDataModel object cannot be written to. |
Returns the number of attempts on this activity, including the currently active attempt. This number gets incremented each time a new attempt begins on an activity, before it is delivered for execution.